package com.sun.hunk.struts.form;

import com.sun.hunk.hibernate.domain.User;
import com.sun.hunk.hibernate.domain.impl.DomainFactory;
import com.sun.hunk.struts.HunkActionForm;

/**
 *
 * @author sunil
 */
public class UserForm extends HunkActionForm {

    User user;

    public UserForm() {
        user = DomainFactory.getUser();
    }

    public Long getId() {
        return user.getId();
    }

    public void setId(Long id) {
        user.setId(id);
    }

    public String getLoginName() {
        return user.getLoginName();
    }

    public void setLoginName(String loginName) {
        user.setLoginName(loginName);
    }

    public String getPassword() {
        return user.getPassword();
    }

    public void setPassword(String password) {
        user.setPassword(password);
    }

    public String getFirstName() {
        return user.getFirstName();
    }

    public void setFirstName(String firstName) {
        user.setFirstName(firstName);
    }

    public String getLastName() {
        return user.getLastName();
    }

    public void setLastName(String lastName) {
        user.setLastName(lastName);
    }

    public String getTelephone() {
        return user.getTelephone();
    }

    public void setTelephone(String telephone) {
        user.setTelephone(telephone);
    }

    public String getAddress() {
        return user.getAddress();
    }

    public void setAddress(String address1) {
        user.setAddress(address1);
    }

    public Integer getCountry() {
        return user.getCountry();
    }

    public void setCountry(Integer country) {
        user.setCountry(country);
    }

    public String getState() {
        return user.getState();
    }

    public void setState(String state) {
        user.setState(state);
    }

    public Integer getCity() {
        return user.getCity();
    }

    public void setCity(Integer city) {
        user.setCity(city);
    }

    public String getZipcode() {
        return user.getZipcode();
    }

    public void setZipcode(String zipcode) {
        user.setZipcode(zipcode);
    }

    public String getStatus() {
        return user.getStatus();
    }

    public void setStatus(String status) {
        user.setStatus(status);
    }

    public String getEmail() {
        return user.getEmail();
    }

    public void setEmail(String email) {
        user.setEmail(email);
    }
    
    public String getFax() {
        return user.getFax();
    }

    public void setFax(String fax) {
        user.setFax(fax);
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
